package com.campus.delivery.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 公告详情VO
 */
@Data
@ApiModel("公告详情VO")
public class NoticeDetailVo {
    
    @ApiModelProperty("公告ID")
    private Integer id;
    
    @ApiModelProperty("公告标题")
    private String title;
    
    @ApiModelProperty("公告内容")
    private String content;
    
    @ApiModelProperty("优先级：0-普通，1-重要，2-紧急")
    private Integer priority;
    
    @ApiModelProperty("是否置顶：0-否，1-是")
    private Integer isTop;
    
    @ApiModelProperty("查看次数")
    private Integer viewCount;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}